home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
DiskUtil
/
Crunch
/
XFH.lha
/
XFH
/
SRC
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1994-04-19
|
2KB
|
94 lines
SCOPTS = IDIR=Include MCCONS STRMERGE UNSCHAR NOSTKCHK OPTIMIZE
XFH = XFH-Handler
OBJS = CFS.o DoDOS.o Packet.o lock.o dosfunc.o file.o pack.o misc.o\
packfunc.o xobj.o xpk.o options.o arexx.o gui.o
XFHD = XFH-DebugHandler
DOBJS = CFS.d DoDOS.o Packet.d lock.d dosfunc.d file.d pack.d misc.d\
packfunc.d xobj.d xpk.d options.d arexx.d gui.d
.c.o:
sc $*.c $(SCOPTS) GST=XFH.gst OBJNAME=$*.o
.c.d:
sc $*.c $(SCOPTS) DEFINE=DEBUG GST=Debug.gst OBJNAME=$*.d
.asm.o:
asm -iINCLUDE: $*.asm
$(XFH): $(OBJS)
slink FROM $(OBJS) SC SD ND LIB Lib/dossupport.lib LIB:sc.lib LIB:amiga.lib TO $(XFH) NOICONS
Protect $(XFH) FLAGS RWD
$(XFHD): $(DOBJS)
slink FROM $(DOBJS) SC SD ND LIB Lib/dossupport.lib LIB:debug.lib LIB:sc.lib LIB:amiga.lib TO $(XFHD) NOICONS
Protect $(XFHD) FLAGS RWD
all: $(XFH) $(XFHD)
XFH.gst: CFS.h version.h Makefile
Echo >Dummy.c "\#include *"CFS.h*""
sc Dummy.c UNSCHAR NOOBJNAME MAKEGST=$@
Delete Dummy.c QUIET
Debug.gst: CFS.h version.h Makefile
Echo >Dummy.c "\#include *"CFS.h*""
sc Dummy.c UNSCHAR DEFINE=DEBUG NOOBJNAME MAKEGST=$@
Delete Dummy.c QUIET
CFS.o: CFS.c XFH.gst
Packet.o: Packet.c XFH.gst
lock.o: lock.c XFH.gst
dosfunc.o: dosfunc.c XFH.gst
file.o: file.c XFH.gst
pack.o: pack.c XFH.gst
misc.o: misc.c XFH.gst
packfunc.o: packfunc.c XFH.gst
xobj.o: xobj.c XFH.gst
xpk.o: xpk.c XFH.gst
options.o: options.c XFH.gst
arexx.o: arexx.c XFH.gst
gui.o: gui.c gui.h XFH.gst
CFS.d: CFS.c Debug.gst
Packet.d: Packet.c Debug.gst
lock.d: lock.c Debug.gst
dosfunc.d: dosfunc.c Debug.gst
file.d: file.c Debug.gst
pack.d: pack.c Debug.gst
misc.d: misc.c Debug.gst
packfunc.d: packfunc.c Debug.gst
xobj.d: xobj.c Debug.gst
xpk.d: xpk.c Debug.gst
options.d: options.c Debug.gst
arexx.d: arexx.c Debug.gst
gui.d: gui.c gui.h Debug.gst
clean:
Delete #?.d Debug.gst QUIET